<?php

/**
 * Exclusive constants.
 */
define(VERSION, "0.90");
define(TITLE_HOME, "NewarLig");
$template="standard";
$template="travelportal";
$LANG ="tr";
define(TIME_OFFSET, "+7 hours");



//define(URL_HOME, '/ahmet/newarLig');
//define("DB_NAME", "kocakaya_nwrlig");
//define("DB_USER", "kocakaya_nwrlig");
//define("DB_PASS", "ahmet");

define(URL_HOME, "http://localhost/newarLig");
define("DB_NAME", "newarLig");
define("DB_USER", "root");
define("DB_PASS", "ilknur");


/**
 * Database Constants - these constants are required
 * in order for there to be a successful connection
 * to the MySQL database. Make sure the information is
 * correct.
 */
define("DB_SERVER", "localhost");



//define(FS_ROOT, dirname(__FILE__). DIRECTORY_SEPARATOR . '..');
define(FS_ROOT, substr(dirname(__FILE__), 0, -1 * strlen('/includes')));
//define(FS_ROOT, '/usr/local/4admin/apache/vhosts/kocakaya.net/addon/newarlig.game-host.org');
define(TPL_HOME, '/ui/templates');

// put full path to Smarty.class.php
require_once("ui/init.php");
$smarty = new _Smarty();

// Page header
$smarty->assign("page_title", "Newarneyok Futbol Tahmin Ligi");
$smarty->assign("page_subtitle", "Bence hizmet!");
$smarty->assign("template", $template );
$smarty->assign("template_root", $smarty->template_dir);
$smarty->assign("url_home", URL_HOME);
$smarty->assign("url_tpl_home", URL_HOME . TPL_HOME);

// Global class
require_once("includes/classes/globals.php");

?>